def p_1():
    for i in range(5):
        print(' * * * * * ')
    print()


def p_2():
    for i in range(5):
        print(' *' * (i + 1))
    print()


def p_3():
    for i in range(5):
        print(' *' * (5 - i))
    print()


def p_4():
    for i in range(1, 10, 2):
        print((' *' * i).center(20))
    print()


if __name__ == '__main__':
    p_1()
    p_2()
    p_3()
    p_4()
